<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>后台管理-用户中心首页</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" />
        <meta content="Coderthemes" name="author" />
        <!-- App favicon -->
        <link rel="shortcut icon" href="/public/assets/images/favicon.ico">

        <!-- third party css -->
        <link href="/public/assets/css/vendor/dataTables.bootstrap4.css" rel="stylesheet" type="text/css" />
        <link href="/public/assets/css/vendor/responsive.bootstrap4.css" rel="stylesheet" type="text/css" />
        <!-- third party css end -->

        <!-- App css -->
        <link href="/public/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
        <link href="/public/assets/css/app.min.css" rel="stylesheet" type="text/css" />

    </head>

    <body>

        <!-- Begin page -->
        <div class="wrapper">

            <!-- ========== Left Sidebar Start ========== -->
          {include file="public/left" /}
            <!-- Left Sidebar End -->

            <!-- ============================================================== -->
            <!-- Start Page Content here -->
            <!-- ============================================================== -->

            <div class="content-page">
                <div class="content">

                    <!-- Topbar Start -->
                      {include file="public/top" /}
                    <!-- end Topbar -->

                    <!-- Start Content-->
                    <div class="container-fluid">
                        
                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box">
                                    <div class="page-title-right">
                                        <ol class="breadcrumb m-0">
                                            <li class="breadcrumb-item"><a href="{:url('admin/index')}">后台首页</a></li>
                                            <li class="breadcrumb-item"><a href="{:url('admin/daili/list')}">代理管理</a></li>
                                            <li class="breadcrumb-item active">新增代理</li>
                                        </ol>
                                    </div>
                                    <h4 class="page-title">代理管理</h4>
                                </div>
                            </div>
                        </div>     
                        <!-- end page title --> 

                        <div class="row">
                            <div class="col-12">
                                <div class="card">
                                    <div class="card-body">
                                        <h4 class="header-title">新增代理</h4>
                                       

                                        <form action="" method="post">
                                            <div class="form-row">
                                                <div class="form-group col-md-6">
                                                    <label for="inputEmail4" class="col-form-label">用户名</label>
                                                    <input type="text" class="form-control" name="username" value="{$edir.username}">
                                                </div>
                                                <div class="form-group col-md-6">
                                                    <label for="inputPassword4" class="col-form-label">密码</label>
                                                    <input type="password" class="form-control" name="userpass" value="{$edir.userpass}">
                                                </div>
                                            </div>
                                             <div class="form-group">
                                                <label for="inputAddress2" class="col-form-label">用户备注</label>
                                                <input type="text" class="form-control" name="beizhu" value="{$edir.beizhu}">
                                            </div> 
                                             <div class="form-group">
                                                <label for="inputAddress2" class="col-form-label">前台短网址后缀</label>
                                                <input type="text" class="form-control" name="dwz" value="{$edir.dwz}">
                                            </div> 
                                          <div class="form-group">
                                                <label for="inputAddress2" class="col-form-label">联系方式</label>
                                                <input type="text" class="form-control" name="lianxifangshi" value="{$edir.lianxifangshi}">
                                            </div>  
                                          <div class="form-group">
                                                <label for="inputAddress2" class="col-form-label">账户余额</label>
                                                <input type="text" class="form-control" name="yue" value="{$edir.yue}">
                                            </div>
                                          
                   <div class="form-group mb-3">
                      <label for="example-select">是否可自定义推广内容</label>
                      <select class="form-control" name="zidingyi">
                                                           

                  <option value="1" name="zidingyi" {if condition="$edir.zidingyi eq 1"} selected="selected" {/if}>公用通道</option>
                  <option value="2" name="zidingyi" {if condition="$edir.zidingyi eq 2"} selected="selected" {/if}>自建通道</option>
                      </select>
                     </div>  
                     <div class="form-group mb-3">
                      <label for="example-select">选择代理等级</label>
                      <select class="form-control" name="status">
                                                           

                  <option value="1" name="status" {if condition="$edir.status eq 1"} selected="selected" {/if}>普通代理</option>
                  <option value="2" name="status" {if condition="$edir.status eq 2"} selected="selected" {/if}>黄金代理</option>
                  <option value="3" name="status" {if condition="$edir.status eq 3"} selected="selected" {/if}>钻石代理</option>
                      </select>
                     </div>
                        <div class="form-group mb-3">
                      <label for="example-select">选择域名通道</label>
                      <select class="form-control" name="yuming">
                                                           

                  <option value="1" name="yuming" {if condition="$edir.yuming eq 1"} selected="selected" {/if}>公用通道</option>
                  <option value="2" name="yuming" {if condition="$edir.yuming eq 2"} selected="selected" {/if}>自建通道</option>
                      </select>
                     </div>  
                             
                                          

                                        

                                            <button type="submit" class="btn btn-primary">修改</button>

                                        </form>

                                    </div> <!-- end card-body -->
                                </div> <!-- end card-->
                            </div> <!-- end col -->
                        </div>
                        <!-- end row -->
                        
                    </div> <!-- container -->

                </div> <!-- content -->

                <!-- Footer Start -->
               {include file="public/foot" /}
                <!-- end Footer -->

            </div>

            <!-- ============================================================== -->
            <!-- End Page content -->
            <!-- ============================================================== -->


        </div>
        <!-- END wrapper -->


     


        <div class="rightbar-overlay"></div>
        <!-- /Right-bar -->


        <!-- App js -->
        <script src="/public/assets/js/app.min.js"></script>

        <!-- third party js -->
        <script src="/public/assets/js/vendor/jquery.dataTables.min.js"></script>
        <script src="/public/assets/js/vendor/dataTables.bootstrap4.js"></script>
        <script src="/public/assets/js/vendor/dataTables.responsive.min.js"></script>
        <script src="/public/assets/js/vendor/responsive.bootstrap4.min.js"></script>
        <script src="/public/assets/js/vendor/dataTables.checkboxes.min.js"></script>
        <!-- third party js ends -->

        <!-- demo app -->
        <script src="/public/assets/js/pages/demo.customers.js"></script>
        <!-- end demo js-->

    </body>
</html>
